package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 主播等级配置表
 * </p>
 *
 * @author Shane
 * @since 2019-08-23
 */
@TableName("host_level_config")
public class HostLevelConfig implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 等级
	 */
	private Integer level;

	/**
	 * 
	 */
	@TableField(value = "`name`")
	private String name;

	/**
	 * 对应等级图标
	 */
	private String icon;

	/**
	 * 收费，PP/分钟
	 */
	private Integer charge;

	/**
	 * 收益，积分/分钟
	 */
	private Double earn;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	private Integer upgrade;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getCharge() {
		return charge;
	}

	public void setCharge(Integer charge) {
		this.charge = charge;
	}

	public Double getEarn() {
		return earn;
	}

	public void setEarn(Double earn) {
		this.earn = earn;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getUpgrade() {
		return upgrade;
	}

	public void setUpgrade(Integer upgrade) {
		this.upgrade = upgrade;
	}
}
